package com.mycompany.myapp.web.rest;

import com.mycompany.myapp.repository.CommonTableRelationshipRepository;
import com.mycompany.myapp.service.CommonTableRelationshipQueryService;
import com.mycompany.myapp.service.CommonTableRelationshipService;
import com.mycompany.myapp.web.rest.base.CommonTableRelationshipBaseResource;
import io.swagger.annotations.Api;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.*;

// jhipster-needle-add-import - JHipster will add getters and setters here, do not remove

/**

 * 管理实体{@link com.mycompany.myapp.domain.CommonTableRelationship}的REST Controller。
 */
@RestController
@RequestMapping("/api")
@Api(value = "common-table-relationships", tags = "模型关系API接口")
public class CommonTableRelationshipResource extends CommonTableRelationshipBaseResource {

    private final Logger log = LoggerFactory.getLogger(CommonTableRelationshipResource.class);

    public CommonTableRelationshipResource(
        CommonTableRelationshipService commonTableRelationshipService,
        CommonTableRelationshipRepository commonTableRelationshipRepository,
        CommonTableRelationshipQueryService commonTableRelationshipQueryService
    ) {
        super(commonTableRelationshipService, commonTableRelationshipRepository, commonTableRelationshipQueryService);
    }
    // jhipster-pro-please-regenerate-this-file 如果您修改了此文件，并且不希望重新生成代码时被覆盖，请删除本行！！！
}
